<!DOCTYPE html>
<html xmlns:wb=“http://open.weibo.com/wb”>
<head>
    <title>微博话题</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div class="container">
    <script>
        //<wb:topic tags="天津塘沽大爆炸" url="http://www.laoxinwen.com" version="base" uid="3178872255" appkey="3943869213" refer="y" column="n" border="n" footbar="n" filter="y" width="100%" height="100%" language="zh_cn"></wb:topic>
        //document.write( '<wb:topic tags="天津塘沽大爆炸" url="http://www.laoxinwen.com" version="base" uid="3178872255" appkey="3943869213" refer="y" column="n" border="n" footbar="n" filter="y" width="' + window.innerWidth + '" height="' + window.innerHeight + '" language="zh_cn"></wb:topic>' );
    </script>
</div>
<script>
    var Native = {
        // call原生接口
        call : function(command, params) {
            // android
            if (window.Android) {
                Android[command](JSON.stringify(params));
            } else {
                // ios
                window.location = 'js-call:' + command + ':' + encodeURIComponent(JSON.stringify(params));
            }
        },
        // 添加接口供原生调用
        addInterface : function(name, func) {
            window[name] = func;
        }
    };
    document.getElementById('reload_btn').onclick = function() {
        Native.call('jsreload', {});
    }
</script>
</body>
</html>